package com.beyond.trace.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @BelongsProject: trace
 * @BelongsPackage: com.beyond.trace.domain.vo
 * @Author: zhangq
 * @CreateTime: 2023-01-06  15:38
 * @Description: 统计近七天每日数据出参
 */
public class ScanSevenDaysCountVo {

    @ApiModelProperty(value = "日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date time;
    @ApiModelProperty(value = "数量")
    private Integer num;

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "ScanSevenDaysCountVo{" +
                "time=" + time +
                ", num=" + num +
                '}';
    }

    public ScanSevenDaysCountVo(Date time,Integer num) {
        this.time = time;
        this.num = num;
    }

}
